<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8"/>
    <!--thymeleat 实现静态资源版号-->
    <script type="application/javascript" th:src="${@mvcResourceUrlProvider.getForLookupPath('/js/jquery.min.js')}"></script>
    <style type="text/css" th:href="${@mvcResourceUrlProvider.getForLookupPath('/css/bootstrap.min.css')}"></style>
    <title>index主页</title>
</head>
<body>
    <h1>主页面</h1>
    <img th:src="${@mvcResourceUrlProvider.getForLookupPath('/img/abc.jpg')}"/>
</body>
</html>